package com.originit.product.server.entity

import java.math.BigDecimal
import java.time.LocalDateTime
import javax.persistence.Entity
import javax.persistence.Id

@Entity
data class ProductInfo (@Id var productId:String? = null,
                        var productName:String? = null,
                        var productPrice:BigDecimal? = null,
                        var productStock:Int? = null,
                        var productDescription:String? = null,
                        var productIcon:String? = null,
                        var productStatus: Int? = null,
                        var categoryType:Int? = null,
                        var createTime:LocalDateTime? = null,
                        var updateTime:LocalDateTime? = null)